package com.leemz.spring.factory;

/**
 * 用户dao实现
 * @author leemz
 */
public class UserDaoImpl implements UserDao {

    @Override
    public void register(User user) {
        System.out.println("insert into User:" + user);
    }

    @Override
    public void login(String name, String password) {
        System.out.println("Query user by name and password");
    }
}
